package com.apidoc.enumeration;



public enum OrderStatus {
	
	REFUNED(-1 , "REFUNED" , "退回"),
	TO_AUDIT(0  , "TO_AUDIT" , "待审核" ) ,
	PASSED(1 , "PASSED" , "审核通过") ,
	HSIPPING(2  , "SHIPPING" , "发货中") ,
	CONFIRMED(3 , "CONFIRMED" , "确认收货") ;
	
	private int status ;
    private String name ;
    private String desc ;
    
    private OrderStatus(int status , String name , String desc){
    	this.status = status ;
    	this.name = name ;
    	this.desc = desc ;
    }

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public  String enumApiDoc() {
		return status + "   " + desc + "\n" ;
	}
}
